import request from '@/utils/request'

export function getDate(params) {
  return request({
    url: 'http://localhost:8080/dict/date',
    method: 'get',
    params
  })
}

export function dictAdd(params) {
  return request({
    url: 'http://localhost:8080/dict/add',
    method: 'get',
    params
  })
}

export function dictDel(params) {
  return request({
    url: 'http://localhost:8080/dict/del',
    method: 'get',
    params
  })
}

export function dictDelOne(params) {
  return request({
    url: 'http://localhost:8080/dict/delone/' + params,
    method: 'get',
    params
  })
}

export function dictUpdate(params) {
  return request({
    url: 'http://localhost:8080/dict/update',
    method: 'get',
    params
  })
}

